// @chearset 'utf-8';

@import url(./public.less);

// 页头
@import url(./header.less);

// 导航栏
nav {
  width: 100%;
  font-size: 14px;
  .wrap {
    width: 1226px;
    height: 100px;
    margin: 0 auto;
    position: relative;
    a {
      color: black;
      &:hover {
        color: #ed712e;
      }
    }
    .logo {
      width: 100px;
      float: left;
      margin-top: 30px;
      img {
        width: 50px;
        height: 50px;
      }
    }
    .ul_one {
      float: left;
      margin-left: 100px;
      > li {
        float: left;
        height: 40px;
        line-height: 40px;
        padding: 0 20px 30px 0;
        margin-top: 30px;
        vertical-align: middle;
        a:hover {
          color: #ed712e;
        }
        &:hover .div_one {
          border-top: 1px solid silver;
        }
        .div_height {
          height: 200px !important;
        }
        .div_one {
          position: absolute;
          height: 0px;
          width: 1440px;
          left: -108px;
          top: 100px;
          background-color: white;
          position: absolute;
          z-index: 23;
          overflow: hidden;
          box-shadow: 0 3px 4px rgb(0 0 0/ 18%);
          transition: all 0.2s;
          .ul_two {
            margin: 0 150px;
            text-align: center;
            display: flex;
            justify-content: space-between;
            > li {
              height: 100%;
              width: 150px;
              padding: 20px 0;
              .list-img {
                height: 103px;
                width: 150px;
                padding-right: 20px;
                border-right: 1px silver solid;
                img {
                  width: 150px;
                  height: 103px;
                }
              }
              &:last-child .list-img {
                border-right: none;
              }
              h1 {
                font-size: 14px;
                font-weight: normal;
                height: 20px;
                line-height: 20px;
              }
              span {
                display: block;
                color: #ed712e;
                font-size: 10px;
                height: 20px;
                line-height: 20px;
              }
            }
          }
        }
      }
    }
    .inp {
      width: 300px;
      float: right;
      margin-top: 25px;
      .inp-text {
        width: 235px;
        height: 48px;
        padding-left: 10px;
        line-height: 48px;
        background-color: white;
        border-top: 1px solid silver;
        border-left: 1px solid silver;
        border-bottom: 1px solid silver;
        border-right: none;
        vertical-align: middle;
        outline: none;
      }
      .inp-sub {
        // border-left: none;
        background: white;
        line-height: 50px;
        height: 50px;
        width: 52px;
        border: 1px solid silver;
        font-size: 20px;
        vertical-align: middle;
        &:hover {
          background-color: #ed712e;
          color: white;
        }
      }
    }
  }
}

// 滚动菜单
.left-menu {
  .wrap {
    height: 430px;
    position: relative;
    .left {
      position: absolute;
      z-index: 20;
      .ul_one {
        height: 400px;
        width: 234px;
        padding: 10px 0;
        border: 0;
        color: #fff;
        background: rgba(105, 101, 101, 0.6);
        li {
          .one_a {
            position: relative;
            display: block;
            padding-left: 30px;
            height: 40px;
            line-height: 40px;
            &:hover {
              background-color: #ed712e;
            }
            &:after {
              content: ">";
              font-weight: bold;
              float: right;
              margin-right: 20px;
            }
          }
          &:hover .show_hide {
            display: block;
          }
          .show_hide {
            height: 420px;
            max-width: (1200px-234);
            background-color: white;
            position: absolute;
            left: 234px;
            top: 0;
            box-shadow: #b0b0b0 3px 5px 10px;
            display: none;
            .ul_two {
              display: flex;
              flex-wrap: wrap;
              height: 420px;
              writing-mode: vertical-lr;
              li {
                width: 225px;
                height: 34px;
                padding: 18px 20px;
                writing-mode: horizontal-tb;
                a {
                  color: black;
                  display: inline-block;
                  line-height: 40px;
                  height: 40px;
                  overflow: hidden;
                  font-size: 14px;
                  margin-left: 5px;
                  &:hover {
                    color: #ed712e;
                  }
                }
                img {
                  height: 40px;
                  width: 40px;
                  display: inline-block;
                }
              }
            }
          }
        }
      }
    }
    .right {
      height: 420px;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 19;
      .swiper {
        width: 1200px;
        height: 420px;
        img {
          height: 420px;
          width: 1200px;
        }
        .swiper-button-prev {
          margin-left: 240px;
          color: rgba(225, 222, 222, 0.762);
          height: 80px;
          width: 40px;
          &:hover {
            color: white;
            background-color: rgba(200, 199, 199, 0.6);
          }
        }
        .swiper-button-next {
          color: rgba(225, 222, 222, 0.762);
          height: 80px;
          width: 40px;
          &:hover {
            color: white;
            background-color: rgba(105, 101, 101, 0.6);
            border-radius: 5px;
          }
        }
      }
    }
  }
}

// 4个banner
.serve {
  padding-bottom: 20px;
  .wrap {
    height: 170px;
    margin-bottom: 20px;
    .server_one {
      width: 234px;
      height: 170px;
      background-color: #5e5751;
      float: left;
      ul {
        width: 234px;
        height: 170px;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        box-sizing: border-box;
        li {
          width: 76px;
          height: 53px;
          text-align: center;
          font-size: 12px;
          padding-top: 22px;
          margin: 5px 0;
          &:hover {
            span {
              color: white;
            }
            i {
              color: white;
            }
          }
          span {
            color: #a5a2a2;
            display: block;
            text-align: center;
            height: 42px;
            margin-top: 5px;
            margin: 0 5px;
          }
          i {
            color: #a5a2a2;
          }
          &:nth-child(1) span {
            border-bottom: 1px solid #ffffff29;
          }
          &:nth-child(2) span {
            border-bottom: 1px solid #ffffff29;
          }
          &:nth-child(3) span {
            border-bottom: 1px solid #ffffff29;
          }
          &:nth-child(2) {
            border-left: 1px solid #ffffff29;
            border-right: 1px solid #ffffff29;
          }
          &:nth-child(5) {
            border-left: 1px solid #ffffff29;
            border-right: 1px solid #ffffff29;
          }
        }
      }
    }
    .server_banner {
      float: left;
      height: 170px;
      width: 307px;
      margin-left: 15px;
      img {
        height: 170px;
        width: 307px;
        transition: box-shadow 0.2s linear, -webkit-box-shadow 0.2s linear;
        &:hover {
          box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
        }
      }
    }
  }
}

//产品
main {
  width: 100%;
  background-color: #f5f5f5;
  .wrap {
    .main_banner {
      width: 1200px;
      height: 150px;
      img {
        width: 1200px;
        margin-top: 30px;
      }
    }
    .main_model {
      margin-top: 30px;
      width: 1200px;
      height: 680px;
      .main_model_caption {
        width: 1200px;
        height: 50px;
        .hot {
          height: 58px;
          float: right;
          ul {
            height: 58px;
            li {
              float: left;
              height: 40px;
              line-height: 58px;
              text-align: center;
              margin-left: 10px;
              &:hover {
                color: #ed712e;
                border-bottom: 3px #ed712e solid;
              }
            }
          }
        }
        .tit {
          font-size: 22px;
          font-weight: 200;
          line-height: 58px;
          color: #333;
          float: left;
        }
        .more {
          float: right;
          a {
            font-size: 16px;
            line-height: 58px;
            color: #424242;
            display: inline-block;
            margin-right: 10px;
          }
          span {
            width: 12px;
            height: 12px;
            padding: 4px;
            margin-left: 8px;
            border-radius: 16px;
            font-size: 12px;
            line-height: 12px;
            background: #b0b0b0;
            color: #fff;
            vertical-align: 1px;
            display: inline-block;
            text-align: center;
          }
          &:hover {
            a {
              color: #ed712e;
            }
            span {
              color: white;
              background-color: #ed712e;
            }
          }
        }
      }
    }
    .main_product {
      width: 1200px;
      .product_left {
        height: 614px;
        width: 234px;
        float: left;
        clear: both;
        .img-single {
          height: 614px;
          width: 234px;
          transition: all 0.2s linear;
          &:hover {
            box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
            transform: translate3d(0, -2px, 0);
          }
        }
        .img-double {
          width: 232px;
          height: 302px;
          margin-bottom: 5px;
          transition: all 0.2s linear;
          &:hover {
            box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
            transform: translate3d(0, -2px, 0);
          }
        }
      }
      .product_right {
        height: 614px;
        width: 950px;
        float: left;
        ul {
          height: 614px;
          width: 968px;
          li {
            width: 232px;
            height: 302px;
            margin-left: 10px;
            margin-bottom: 10px;
            float: left;
            background-color: white;
            text-align: center;
            transition: all 0.2s linear;
            img {
              width: 160px;
              height: 160px;
              margin: 20px 0;
            }
            h3 {
              font-size: 14px;
              font-weight: 400;
              color: #333;
            }
            p {
              height: 18px;
              font-size: 12px;
              color: #b0b0b0;
              margin-bottom: 10px;
              padding: 0 10px;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
            }
            span {
              color: #ff6700;
            }
            &:hover {
              box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
              transform: translate3d(0, -2px, 0);
            }
          }
          .product-right-model {
            height: 97px !important;
            width: 232px !important;
            padding-top: 50px;
            margin-left: 10px !important;
            position: relative;
            img {
              width: 80px;
              height: 80px;
              position: absolute;
              top: 20px;
            }
            h3 {
              width: 95px;
              margin-left: 15px;
              font-size: 14px;
              font-weight: 400;
            }
            span {
              margin: 0 138px 0 30px;
              font-size: 12px;
              color: #ff6700;
            }
          }
        }
      }
    }
    .main_model_video {
      padding-bottom: 40px;
      .main_model_caption {
        width: 1200px;
        height: 50px;
        .tit {
          font-size: 22px;
          font-weight: 200;
          line-height: 58px;
          color: #333;
          float: left;
        }
        .more {
          float: right;
          a {
            font-size: 16px;
            line-height: 58px;
            color: #424242;
            display: inline-block;
            margin-right: 10px;
          }
          span {
            width: 12px;
            height: 12px;
            padding: 4px;
            margin-left: 8px;
            border-radius: 16px;
            font-size: 12px;
            line-height: 12px;
            background: #b0b0b0;
            color: #fff;
            vertical-align: 1px;
            display: inline-block;
            text-align: center;
          }
          &:hover {
            a {
              color: #ed712e;
            }
            span {
              color: white;
              background-color: #ed712e;
            }
          }
        }
      }
      .main-video-content {
        width: 1200px;
        height: 280px;
        ul {
          width: 1200px;
          height: 280px;
          clear: both;
          li {
            width: 288px;
            height: 280px;
            margin-right: 15px;
            background-color: white;
            float: left;
            position: relative;
            transition: all 0.2s linear;
            &:hover {
              box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
              transform: translate3d(0, -2px, 0);
            }
            &:last-child {
              margin: 0;
            }
            img {
              width: 288px;
            }
            span {
              position: absolute;
              width: 30px;
              height: 20px;
              font-size: 20px;
              line-height: 15px;
              top: 130px;
              left: 30px;
              border-radius: 15px;
              border: 3px white solid;
              color: white;
              background-color: #3f4c5aa3;
              text-align: center;
              font-weight: 900;
              &:hover {
                border: 3px #ed712e solid;
                background-color: #ed712e;
              }
              div {
                width: 10px;
                border-style: solid;
                border-width: 7px;
                border-color: transparent transparent transparent white;
                position: absolute;
                top: 3px;
                left: 13px;
              }
            }
            h3 {
              margin: 20px 14px 6px;
              font-size: 14px;
              font-weight: 400;
              text-align: center;
              color: #333;
              white-space: nowrap;
              text-overflow: ellipsis;
              overflow: hidden;
            }
            p {
              height: 18px;
              margin: 0 80px;
              font-size: 12px;
              color: #b0b0b0;
              white-space: nowrap;
              text-overflow: ellipsis;
              overflow: hidden;
            }
          }
        }
      }
    }
  }
}

// 尾部
@import url(./footer.less);

//移动
@import url(./home-bar.less);
